Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Applet Control Functions /


JMCountApplets

Counts the number of applets associated with an HTML page.

OSStatus JMCountApplets (
                     JMAppletLocatorRef locatorRef, 
                     UInt32* appletCount);
locatorRef
The applet locator that contains the parsed HTML text.
appletCount
A pointer to the applet count. On return, this parameter points to the number of applets.
function result
A result code. See "JManager Result Codes" (page 108) for a list of result codes that JManager may return in this field.
DISCUSSION
If there are no applets associated with the text, JMCountApplets returns 0. You can call this function only after successfully retrieving HTML text using the JMNewAppletLocator function.

SEE ALSO
The JMNewAppletLocator function (page 70).

"Finding Applets" (page 10).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
23 APR 1997